
#@public@|all_build|Builds all the projects
#@public_detailed@|all_build|Syntax: make all_build coc=<cpu_os_comp> target=<target> verbose=<verbose> 
#@public_detailed@|all_build|Where 'coc' is a combination for CPU, OS and compiler. Please, run 'make coc_list' to list all the CPU, OS, compiler combinations.
#@public_detailed@|all_build|Where 'target' is "debug" or "release".
#@public_detailed@|all_build|Where verbose is "0" or "1"
all_build:
	$(show) ""                                                           ; \
	echo "**************************************** "                     ; \
	echo "Building all Projects"                                         ; \
	echo ""                                                              ; \
	for prj in `ls $(dir_prjs)` do                                       ; \
		make -s project=$$prj coc="$(coc)" target="$(target)"          \
			verbose="$(verbose)" M_version="$(M_version)"          \
			m_version="$(m_version)"                               \
			build_number="$(build_number)" prj_build_chain       ; \
	done                                                                 ;

#@public@|all_clean|Cleans all the projects
#@public_detailed@|all_clean|Syntax: make all_clean verbose=<verbose> 
#@public_detailed@|all_clean|Where verbose is "0" or "1"
all_clean:
	$(show) ""                                                           ; \
	echo "**************************************** "                     ; \
	echo "Cleaning all Projects"                                         ; \
	echo ""                                                              ; \
	for p in `ls $(dir_prjs)`; do                                          \
		echo "Project '$$p'"                                         ; \
		make -s project=$$p coc="$(coc)" target="$(target)"            \
								prj_clean    ; \
	done                                                                 ; \
	rm -f $(dir_prjs).files 2> /dev/null                                 ;


#@public@|all_info|Displays information for all the projects
#@public_detailed@|all_info|Syntax: make all_info coc=<cpu_os_comp>
#@public_detailed@|all_info|Where 'coc' is a combination for CPU, OS and compiler. Please, run 'make coc_list' to list all the CPU, OS, compiler combinations.
#@public_detailed@|all_info|Where 'target' is "debug" or "release".
#@public_detailed@|all_info|Where verbose is "0" or "1"
all_info:
	for prj in `ls $(dir_prjs)` do                                        ; \
		make -s project=$$prj coc="$(coc)" target="$(target)"           \
			verbose="$(verbose)" M_version="$(M_version)"           \
			m_version="$(m_version)" build_number="$(build_number)" \
			prj_info                                              ; \
	done                                                                  ;		


#@public@|all_show_deps|Shows the dependencies for all the projects  
#@public_detailed@|show_all_deps|Syntax: make show_all_deps
all_show_deps:
	$(show) ""                                                           ; \
	for p in `ls $(dir_prjs)`; do                                          \
		make -s project=$$p show_deps                                ; \
	done                                                                 ;
